package cn.patpang.app.api.controller;import cn.patpang.app.common.BaseController;import cn.patpang.app.entity.User;import cn.patpang.core.framework.hibernate.BaseServiceImpl;import cn.patpang.core.framework.spring.annotation.FindMapping;import cn.patpang.core.vo.HttpResult;import io.swagger.annotations.Api;import io.swagger.annotations.ApiOperation;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.http.MediaType;import org.springframework.web.bind.annotation.RestController;@Api(tags = "api-user", description = "用户")@RestControllerpublic class ApiUserController extends BaseController {    @Autowired    private BaseServiceImpl baseServiceImpl;    @ApiOperation(value = "获取用户信息", notes = "", produces = MediaType.APPLICATION_JSON_VALUE, httpMethod = "GET")    @FindMapping    public HttpResult find() {        return HttpResult.success(baseServiceImpl.findById(User.class, super.getUserId()));    }}